package com.qqtop10.manager.dao;

import java.util.List;

import org.springframework.ui.ModelMap;

import com.qqtop10.manager.model.Perm;
import com.qqtop10.manager.model.Role;
public interface RoleMapper {
	
	List<Role> all(ModelMap input);
	
	List<Perm> allPerm(ModelMap input);
	
	int count(Role input);
	
	int delete(int id);
	
	int update(Role role);
	
	int insert(Role role);
		
	Role selectById(int id);
}
